﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;

namespace Sino.CapacityCloud.Repositories.Models
{

    public class TransportLinkageDispacherTask
    {

        [Key()]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public string TransportLinkageDispacherTaskId { get; set; }

        public string Dispacher { get; set; }

        public string CarId { get; set; }

        public string UserId { get; set; }

        public virtual ApplicationUser User { get; set; }

        public virtual Car Car { get; set; }

        public TransportLinkageDispacherTask()
        {
            this.TransportLinkageDispacherTaskId = Guid.NewGuid().ToString();
        }

    }


}